#ifndef OUTPUT_H
#define OUTPUT_H

#include <ncurses.h>
#include <string>
#include <sstream>
#include <fstream>

#include "map.h"
#include "colors.h"

using namespace std;

class Screen
{
public:
  Screen(Map*);
  void mapPrint();
  void mesPrint();
  void statPrint();
  void addMessage(const char*);
  void setMap(Map*);
  int mixColor(int fore, int back);
  void makeColors();
  void end();
//private:
  WINDOW *mapw;
  WINDOW *messagesw;
  WINDOW *statsw;
  Map* map;
  string* messageList;
  bool* setColors;
};

class Saver
{
public:
  Saver(string, Map*);
private:
  Map* map;
};

#endif
